﻿//
//
//


namespace Microsoft.OpenTurf.Silverlight.Common
{
    using System.ComponentModel.Composition;
    using System.Windows;

    public abstract class MainViewBase : OpenTurfViewModelBase
    {
        #region Properties
        [Import(typeof(IMenuView))]
        public IMenuView MenuControl { get; set; }
        [Import(typeof(IMapView))]
        public IMapView MapControl { get; set; }
        
        public GridLength MenuWidth { get; set; }
        public GridLength TitleHeight { get; set; }
        #endregion


        public MainViewBase()
        {
            // Compose MEF Parts
            CompositionInitializer.SatisfyImports(this);
        }
    }
}